package cc.co.bengkeljava.Enum;

public class Main {
	public static void main(String[] args) {
		WarnaEnumInner hitam = WarnaEnumInner.HITAM;
		WarnaEnumInner kuning = WarnaEnumInner.HIJAU;
		WarnaEnumInner merah = WarnaEnumInner.MERAH;
		WarnaEnumInner hijau = WarnaEnumInner.HIJAU;
		for (WarnaEnumInner tmp: WarnaEnumInner.values()) {
			System.out.println(tmp + ":"+tmp.getNilaiWarna());
		}

	}
}
